package com.zch.market.entity;

import java.sql.Date;

/**
 * 订单
 * @author Administrator
 *
 */
public class Bill {
	private int id;//账单编号
	private String name;//账单名称
	private String desc;//账单描述
	private Date time;//账单时间
	private int ispay;//是否付款，0表示付款，1表示未付款
	private int providerId;//供应商编号
	private double money;//账单报价
	private int counts;//数量
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public int getProviderId() {
		return providerId;
	}
	public void setProviderId(int providerId) {
		this.providerId = providerId;
	}
	public int getIspay() {
		return ispay;
	}
	public void setIspay(int ispay) {
		this.ispay = ispay;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public int getCounts() {
		return counts;
	}
	public void setCounts(int counts) {
		this.counts = counts;
	}
	public Bill(int id, String name, String desc, Date time, int providerId, int ispay, double money,
			int counts) {
		super();
		this.id = id;
		this.name = name;
		this.desc = desc;
		this.time = time;
		this.providerId = providerId;
		this.ispay = ispay;
		this.money = money;
		this.counts = counts;
	}
	public Bill() {
		super();
	}
	@Override
	public String toString() {
		return "Bill [id=" + id + ", name=" + name + ", desc=" + desc + ", time=" + time + ", ispay=" + ispay
				+ ", providerId=" + providerId + ", money=" + money + ", counts=" + counts + "]";
	}
	
}
